package com.ckc.auth.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.security.PermitAll;

@RestController
@RequestMapping("/test")
public class TestController {

    @PermitAll
    @RequestMapping("/echo")
    public String test(){
        return "无鉴权接口";
    }
}
